package org.game.module.taskbo;

import com.sojoys.artifact.exception.AbstractLogicModelException;
import com.sojoys.artifact.factory.session.ISession;
import com.sojoys.artifact.core.IModule;
/** 
 * 任务
 */
public interface TaskBO extends IModule {
	byte classCode = 16;
	
	/** 取得全部任务 [code = 4097] */
	short getTasks = 4097; 
	/** 提交任务(领奖) [code = 4098] */
	short submitTasks = 4098; 
	
	
	/** 取得全部任务 [code = 4097] */
	byte[] getTasks(ISession session, org.game.protobuf.c2s.C2STaskMsg.ReqTasks msg) throws AbstractLogicModelException;
	
	/** 提交任务(领奖) [code = 4098] */
	byte[] submitTasks(ISession session, org.game.protobuf.c2s.C2STaskMsg.SubmitTask msg) throws AbstractLogicModelException;
	
}